package com.dudu.bean;

/**
 * 应用消耗日统计报表
 * @author jack
 *
 */
public class ReportDailyBean implements Comparable<Object>{
	
	private String isvName=""; 		 //ISV名称
	private String appName=""; 		 //应用名称
	private String custName=""; 	 //企业名称
	private String custAccount="";   //计费账号
	private String productName="";   //产品名称
	private String requestCount="";  //请求次数
	private String totalTime=""; 	 //消耗量
	private String unit="";          //单位
	private String totalCount="";  	 //总数量
	private String successCount="";  //成功量
	private String failCount="";	 //失败量
	private String noStatusCount=""; //未知量
	private String successPercent="";//成功率
		
	public String getIsvName() {
		return isvName;
	}
	public void setIsvName(String isvName) {
		this.isvName = isvName;
	}
	public String getAppName() {
		return appName;
	}
	public void setAppName(String appName) {
		this.appName = appName;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getRequestCount() {
		return requestCount;
	}
	public void setRequestCount(String requestCount) {
		this.requestCount = requestCount;
	}
	public String getTotalTime() {
		return totalTime;
	}
	public void setTotalTime(String totalTime) {
		this.totalTime = totalTime;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	
	public String getCustName() {
		return custName;
	}
	public void setCustName(String custName) {
		this.custName = custName;
	}
	public String getCustAccount() {
		return custAccount;
	}
	public void setCustAccount(String custAccount) {
		this.custAccount = custAccount;
	}
	public String getSuccessCount() {
		return successCount;
	}
	public void setSuccessCount(String successCount) {
		this.successCount = successCount;
	}
	public String getFailCount() {
		return failCount;
	}
	public void setFailCount(String failCount) {
		this.failCount = failCount;
	}
	public String getNoStatusCount() {
		return noStatusCount;
	}
	public void setNoStatusCount(String noStatusCount) {
		this.noStatusCount = noStatusCount;
	}
	public String getSuccessPercent() {
		return successPercent;
	}
	public void setSuccessPercent(String successPercent) {
		this.successPercent = successPercent;
	}
	public String getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(String totalCount) {
		this.totalCount = totalCount;
	}
	@Override
	public int compareTo(Object o){
		ReportDailyBean bean = (ReportDailyBean)o;
		if(bean.getAppName().contains("嘟一下"))
			return 1;
		else
			return -1;
	}
}
